using SheLife.Domain.Entities;

namespace SheLife.Domain.Interfaces.Repositories
{
    public interface ISystemConfigRepository : IRepository<SystemConfig>
    {
        Task<SystemConfig> GetByKeyAsync(string key);
        Task<string> GetValueByKeyAsync(string key);
        Task<T> GetValueByKeyAsync<T>(string key);
        Task<IEnumerable<SystemConfig>> GetByCategoryAsync(string category);
    }
}